var express = require('express');
var router = express.Router();
const{ putin,passone} = require("../service/putinService")
const mongoose = require("mongoose")
//用户渲染
router.get('/', async function(req, res, next) {
    let result = await putin(req.query);
    res.send(result);
});
// 用户申请通过
router.post('/passone', async function(req, res, next) {
    let result = await passone(req.body);
    res.send(result);
});




module.exports = router;